package com.example.smartagriculture.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * output 实体类
 * @author 张芸博
 * @since 2025-03-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Output implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(name = "id", description = "id")
    private Integer id;

    /**
     * 果园id
     */
    @Schema(name = "orchard_name", description = "果园id")
    private String orchardName;

    /**
     * 平均产量
     */
    @Schema(name = "avg_output", description = "平均产量")
    private Integer avgOutput;

    /**
     * 总产量
     */
    @Schema(name = "output", description = "总产量")
    private Integer output;

    /**
     * 记录年份
     */
    @Schema(name = "time", description = "记录年份")
    private LocalDateTime time;


}
